package cn.edu.scnu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

@Data
@TableName("movie")
public class Movie {
    @TableId
    private String movieId;
    private String movieName;
    private String type;
    private String region;
    private String director;
    private String actor;
    private Integer isVip;
    private String description;
    private String releaseDate;
    private String picture;
    private Integer rating;
    private Integer weekRating;
    private Integer monthRating;
    private Integer positiveRate;
    private String popularity;
    @TableField(exist = false)
    private MultipartFile pic;
}
